#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2015-11-09 14:32:16
# Last Modified: 2016-09-07 14:22:59
# File Name: query-binded-account.sh
# Description: 
path="/v1/user/profile/update"
params='
{
}
'

body='
{
    "nick_name": "我是水哥",
    "gender": 1,
    "slogan": "我的地盘,我做主",
    "birthday": "1988-01-29",
    "avatar": "http://www.baidu.com/1.jpg",
    "region_code": "440306",
    "region_addr": "创维科技园"
}
'

url=`python geturl.py "${path}" "${params}"`
curl -v -k -d "${body}" "${url}"
